package com.dragon.common.modules.file.service.assistants;

import com.dragon.common.modules.file.common.utils.WebEventManager;
import com.dragon.common.spring.annotations.Assistant;

/**
 * @author Chris Chan
 * Create on 2022/1/9 5:45
 * Use for: 文件业务助手
 * Explain:
 */
@Assistant
public class LocalFileAssistant {

    /**
     * 构建URL
     *
     * @param uri
     * @return
     */
    public String buildUrl(String uri) {
        return WebEventManager.getServerUrl() + uri;
    }

}
